package com.ljf.authority.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.model.BasisModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 主菜单明细对象  authority_base_main_menu_detail
 *
 * @author LJF
 * @since 2024-10-18
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("主菜单明细")
@EqualsAndHashCode(callSuper = true)
@TableName("authority_base_main_menu_detail")
public class AuthorityBaseMainMenuDetail extends BasisModel {

	private static final long serialVersionUID = 1L;

	/**
	 * Java类型: Long
	 * 数据库类型: bigint
	 * 注释: ID
	 * {@link AuthorityBaseMainMenuDetail#COL_ID}
	 */
	@JsonProperty("id")
	@ApiModelProperty(value = "ID")
	@TableId(value="id", type= IdType.AUTO)
	private Long id;

	/**
	 * Java类型: String
	 * 数据库类型: varchar(60)
	 * 注释: 编码
	 * {@link AuthorityBaseMainMenuDetail#COL_CODE}
	 */
	@TableField("code")
	@JsonProperty("code")
	@ApiModelProperty(value = "编码")
	private String code;

	/**
	 * Java类型: String
	 * 数据库类型: varchar(50)
	 * 注释: 图片编码
	 * {@link AuthorityBaseMainMenuDetail#COL_PIC_CODE}
	 */
	@TableField("pic_code")
	@JsonProperty("picCode")
	@ApiModelProperty(value = "图片编码")
	private String picCode;


	/**
	 * ID
	 * {@link AuthorityBaseMainMenuDetail#id}
	 */
	public static final String COL_ID = "id";
	/**
	 * 编码
	 * {@link AuthorityBaseMainMenuDetail#code}
	 */
	public static final String COL_CODE = "code";
	/**
	 * 图片编码
	 * {@link AuthorityBaseMainMenuDetail#picCode}
	 */
	public static final String COL_PIC_CODE = "pic_code";

}
